<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta http-equiv="X-UA-Compatible" content="ie=edge" />
  <link rel="stylesheet" href="index.css" />
  <title>时间线</title>
  <style>
    .bd{
      border: 1px solid red;
    }
  </style>
</head>

<body>
  <div id='root'>
    <div class="timeline">
      <h1>文档时间线</h1>
      <div class="cards bd">
        <section v-for="(item,index) in 1" class="card bd">
          <header class="card__header bd">
            <div class="header__number">
              <span>{{item}}</span>
            </div>
            <h2 class="header__title">
              <span class="title__date">2019-03-09</span>
              <span class="title__sub">副标题</span>
            </h2>
          </header>
          <article class="card__article">
            <p>今天是个好日子</p>
            <p>完成了时间线，感觉还可以，部分优化与适配留到之后处理。</p>
          </article>
        </section>
        <!-- <section class="card">
          <header class="card__header">
            <div class="header__number">
              <span>2</span>
            </div>
            <h2 class="header__title">
              <span class="title__date">2019-03-09</span>
              <span class="title__sub">功能</span>
            </h2>
          </header>
          <article class="card__article">
            <p>今天是个好日子</p>
            <p>完成了时间线，感觉还可以，部分优化与适配留到之后处理。</p>
          </article>
        </section> -->
        <!-- <section class="card">
          <header class="card__header">
            <div class="header__number">
              <span>3</span>
            </div>
            <h2 class="header__title">
              <span class="title__date">2019-03-09</span>
              <span class="title__sub">美化</span>
            </h2>
          </header>
          <article class="card__article">
            <p>今天是个好日子</p>
            <p>完成了时间线，感觉还可以，部分优化与适配留到之后处理。</p>
          </article>
        </section> -->
      </div>
    </div>
  </div>
  <script src='https://cdn.bootcss.com/vue/2.5.16/vue.min.js'></script>
  <script>
    new Vue({
      el: '#root',
      data: {
        value: '',
      },
      methods: {
      },
    });
  </script>
</body>

</html>
